﻿using System;
using System.Collections.Generic;
using System.Diagnostics.Eventing.Reader;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp5
{
    class Fun
    {

        public int Time { get; set; }

        public string Name { get; set; }
        public Fun(int time, string name)
        {
            Console.WriteLine("游戏成长平台");
            Time = time;
            Name = name;

        }
        public void Pla()
        {
            Console.WriteLine("游戏时间 ： {0} 游戏名字 ： {1}", Time, Name);
        }
        ~Fun()
        {
            Console.WriteLine("数据销毁，以防家长发现");
        }
    
    }
}
